*Can the ICC Prevent SVAC? Replication Code*

*This file contains replication code for the models reported in the main text and online appendix. This file also contains replication code for Figures 1 and 2 in the main text; please note that the final versions of the figures were produced with the Stata Graph Editor*

xtset actorid year

*Main Text, Table 2*
*MODEL 1*
xtoprobit sv_max i.rome_l ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*FIGURE 1*
margins rome_l, atmeans
marginsplot, recast(bar) by(rome_l) plotopts(barw(.8))
*MODEL 2*
xtoprobit sv_max i.jurisdiction_l ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 3*
xtoprobit sv_max i.iccintervention ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*FIGURE 2*
margins iccintervention, atmeans
marginsplot, recast(bar) by(iccintervention) plotopts(barw(.8))
*MODEL 4*
xtoprobit sv_max i.iccsvcase ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 5*
xtoprobit sv_max iccglobalactions ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 6* 
xtoprobit sv_max iccglobalsvactions ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 7*
xtivreg sv_max ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year (rome_l=common) if year>2002, vce(robust)

*Appendix, Table A1*
summ sv_max rome_l jurisdiction_l iccintervention iccsvcase iccglobalactions iccglobalsvactions ln_battle ln_mil v2x_lib v2x_rule fert ln_pop forced ln_troopquality commonlaw post

*Appendix, Table A2: This table reports the full models in Table 2 of the main text; see the corresponding code for Main Text, Table 2 above*

*Appendix, Table A3*
*Model 1*
xtoprobit sv_max l.sv_max i.rome_l ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*Model 2*
xtoprobit sv_max l.sv_max i.jurisdiction_l ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*Model 3*
xtoprobit sv_max l.sv_max i.iccintervention ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*Model 4*
xtoprobit sv_max l.sv_max i.iccsvcase ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*Model 5*
xtoprobit sv_max l.sv_max iccglobalactions ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*Model 6*
xtoprobit sv_max l.sv_max iccglobalsvactions ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*Model 7*
xtivreg sv_max l.sv_max ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year (rome_l=common) if year>2002, vce(robust)

*Appendix, Table A4*
*MODEL 1*
xtoprobit sv_max i.rome_l ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year if year>2002, vce(robust)
*MODEL 2* 
xtoprobit sv_max i.jurisdiction_l  ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year if year>2002, vce(robust)
*MODEL 3*
xtoprobit sv_max i.iccintervention ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year if year>2002, vce(robust)
*MODEL 4* 
xtoprobit sv_max i.iccsvcase ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year if year>2002, vce(robust)
*MODEL 5* 
xtoprobit sv_max iccglobalactions ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year if year>2002, vce(robust)
*MODEL 6*
xtoprobit sv_max iccglobalsvactions ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year if year>2002, vce(robust)
*MODEL 7 (identical to Main Text, Table 2, Model 7)*
xtivreg sv_max ln_mil v2x_lib v2x_rule fert ln_pop i.year (rome_l=common) if year>2002, vce(robust)
*Model 8 (post-2002 independent variable, full sample)*
xtoprobit sv_max post2002 ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)

*Appendix, Table A5*
*MODEL 1* 
xtoprobit sv_max i.rome_l ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 2*
xtoprobit sv_max i.jurisdiction_l  ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 3*
xtoprobit sv_max i.iccintervention ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 4*
xtoprobit sv_max i.iccsvcase ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 5* 
xtoprobit sv_max iccglobalactions ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 6*
xtoprobit sv_max iccglobalsvactions ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 7*
xtivreg sv_max ln_mil v2x_lib v2x_rule fert ln_pop i.year (rome_l=common) if year>2002, vce(robust)

*Appendix, Table A6*
*MODEL 1* 
xtoprobit sv_max i.rome_l ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year forced, vce(robust)
*MODEL 2*
xtoprobit sv_max i.jurisdiction_l  ln_battle ln_mil v2x_lib v2x_rule fert ln_pop forced i.year, vce(robust)
*MODEL 3*
xtoprobit sv_max i.iccintervention ln_battle ln_mil v2x_lib v2x_rule fert ln_pop forced i.year, vce(robust)
*MODEL 4* 
xtoprobit sv_max i.iccsvcase ln_battle ln_mil v2x_lib v2x_rule fert ln_pop forced i.year, vce(robust)
*MODEL 5* 
xtoprobit sv_max iccglobalactions ln_battle ln_mil v2x_lib v2x_rule fert ln_pop forced i.year, vce(robust)
*MODEL 6* 
xtoprobit sv_max iccglobalsvactions ln_battle ln_mil v2x_lib v2x_rule fert ln_pop forced i.year, vce(robust)
*MODEL 7*
xtivreg sv_max ln_battle ln_mil v2x_lib v2x_rule fert ln_pop forced i.year (rome_l=common) if year>2002, vce(robust)

*Appendix, Table A7*
*MODEL 1*
xtoprobit sv_max i.rome_l ln_battle ln_troop v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 2*
xtoprobit sv_max i.jurisdiction_l  ln_battle ln_troop v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 3*
xtoprobit sv_max i.iccintervention ln_battle ln_troop v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 4* 
xtoprobit sv_max i.iccsvcase ln_battle ln_troop v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 5* 
xtoprobit sv_max iccglobalactions ln_battle ln_troop v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 6* 
xtoprobit sv_max iccglobalsvactions ln_battle ln_troop v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 7*
xtivreg sv_max ln_battle ln_troop v2x_lib v2x_rule fert ln_pop i.year (rome_l=common) if year>2002, vce(robust)

*Appendix, Table A8*
*MODEL 1*
xtreg sv_max i.rome_l ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 2* 
xtreg sv_max i.jurisdiction_l  ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 3*
xtreg sv_max i.iccintervention ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 4*
xtreg sv_max i.iccsvcase ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 5* 
xtreg sv_max iccglobalactions ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 6*
xtreg sv_max iccglobalsvactions ln_battle ln_mil v2x_lib v2x_rule fert ln_pop i.year, vce(robust)
*MODEL 7: identical to Model 7 as reported in main text, Table 2*




